from django.urls import path,include
from .views import *
from rest_framework import routers

router = routers.DefaultRouter()
router.register(r'eformfile',EformFileViewSet,basename='eformfile')

app_name='api'


urlpatterns = [
    path('',include(router.urls)),
    path('imte/<str:pk>',IMTE.as_view(),name='imte' ),
    path('imte/',IMTE.as_view(),name='imte' ),
    path('wo_imte/getIMTEByWO',getIMTEByWO,name='imte_getIMTEByWO' ),
    path('imte/delete/wo/<int:wo_id>/imte',deleteWorkOrderIMTE,name='deleteWorkOrderIMTE' ),
    path('imte/set/wo/<int:wo_id>/imte',setWorkOrderIMTE,name='setWorkOrderIMTE' ),
    path('user/username',setWorkOrderIMTE,name='user_username' ),
    path('user/getcheckuser',getCheckUser,name='user_getcheckuser' ),

]
